import {request} from '@/utils/request'
export function getApiFlowList(params) {
    return request({
        url: '/api/fizz-manager/flow-control-rule/path/list',
        method: 'get',
        params
    })
}
/**
 * @returns 前端服务名下拉选择框
 */
export function getFrontendDict() {
    return request({
        url: '/api/fizz-manager/flow-control-rule/frontend-service-list',
        method: 'get',
    })
}
/**
 *  保存
 */
export function saveApiForm(data) {
    return request({
        url: '/api/fizz-manager/flow-control-rule/path/save',
        method: 'post',
        data
    })
}
/**
 *  修改
 */
 export function update(data) {
    return request({
        url: '/api/fizz-manager/flow-control-rule/path/update',
        method: 'post',
        data
    })
}
/**
 *  删除
 */
 export function remove(ids) {
    return request({
        url: '/api/fizz-manager/flow-control-rule/path/remove?ids='+ids,
        method: 'post',
    })
}
